﻿using JiveMessenger.ViewModels;
using System.Windows;
using System.Windows.Media;

namespace JiveMessenger.Views
{
    /// <summary>
    /// Description for GetUserEmoticons.
    /// </summary>
    public partial class GetUserEmoticons : Window
    {
        /// <summary>
        /// Initializes a new instance of the GetUserEmoticons class.
        /// </summary>
        public GetUserEmoticons()
        {
            InitializeComponent();
        }

        protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
        {
            ((ViewModelGetUserEmoticons)this.DataContext).Cleanup();
            base.OnClosing(e);
        }
    }
}